sample_list = [50,60,75,85,100,30,48]
x = max(sample_list)
print(x)

y = min(sample_list)
print(y)

#方法2
min_v, *other, max_v = sorted(sample_list)
print(min_v,max_v)
print(other)